<script setup>
import HelloWorld from "./components/vueCom/HelloWorld.vue";
import Parent from "./components/reactjsx/Parent.jsx";
import Header from "./components/reactjsx/header";
function handleBtn() {
  console.log("点击事件----app页面");
}
</script>

<template>
  <Header @handle="handleBtn"></Header>
  <div>头部组件</div>
  <img alt="Vue logo" src="./assets/logo.png" />
  <HelloWorld msg="Hello Vue 3 + Vite" />
  <Parent :condition="true"></Parent>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
